package com.bridgeintelligent.tag.webserver.dim.mgmt.api.vo;

import com.bridgeintelligent.tag.webserver.dim.mgmt.api.entity.AssessInfo;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @description
 * @author: grp 2020-09-03 11:22
 **/
@Getter
@Setter
@Accessors(chain = true)
public class DimAssessVO {
    private DimBaseInfo baseInfo;
    private List<DimUseInfo> useInfo;
    private DimQualityInfo qualityInfo;
    private AssessInfo assessInfo;
    @Getter
    @Setter
    @Accessors(chain = true)
    public static class DimBaseInfo{
        private Boolean isrecommended;//是否推荐
        private String dimId;
        private String dimName;//标签名
        private String classify;//标签小类  用于标示指标类等标签  指标类等标签属于基础标签
        private String dataSource;//数据来源名
        private String showType;//展示规则
        private String definition;//标签定义
        private String caliber;//产出规则
        private String scenarios;//应用场景
        private String businessDepartment;//业务部门名
        private String businessLeader;//业务负责人
        private String uptTime;
        private String effectiveTime;
        private String dimLargeType;
        private String approveDate;
    }
    @Getter
    @Setter
    @Accessors(chain = true)
    public static class DimUseInfo{
        private String id;
        private String dayType;
        private Long combinaCount;
        private Long customerCount;
        private Long totalCount;
        private Long searchCount;
        private Long dowloadCount;
        private String updateDate;
    }
    @Getter
    @Setter
    @Accessors(chain = true)
    public static class DimQualityInfo{
        private String total;
        private String ycPercent;
        private String kzPercent;
        private String bhdPercent;
    }
}
